package com.zkthink.ceres.promotion.dto;

import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.zkthink.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 分销员
 * </p>
 *
 * @author kellen
 * @since 2020-08-22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "SalesPromConfigPageDTO", description = "分销推广设置")
public class SalesPromConfigPageDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 店铺logo是否展示  1是 2否
     */
    @ApiModelProperty(value = "店铺logo是否展示  1是 2否")
    @NotNull(message = "店铺logo是否展示  1是 2否不能为空")
    private Integer isShowShopLogo;
    /**
     * 头像昵称是否展示 1是 2否
     */
    @ApiModelProperty(value = "头像昵称是否展示 1是 2否")
    @NotNull(message = "头像昵称是否展示 1是 2否不能为空")
    private Integer isShowNickName;
    /**
     * 推荐语
     */
    @ApiModelProperty(value = "推荐语")
    @NotEmpty(message = "推荐语不能为空")
    @Length(max = 1000, message = "推荐语长度不能超过1000")
    private String inviteText;
    /**
     * 背景图
     */
    @ApiModelProperty(value = "背景图")
    @NotEmpty(message = "背景图不能为空")
    @Length(max = 500, message = "背景图长度不能超过500")
    private String backImg;
    /**
     * 类型 1店铺推荐 2邀请下级
     */
    @ApiModelProperty(value = "类型 1店铺推荐 2邀请下级")
    @NotNull(message = "类型 1店铺推荐 2邀请下级不能为空")
    private Integer type;
    /**
     * 逻辑删除 1-删除 0-未删除
     */
    @ApiModelProperty(value = "逻辑删除 1-删除 0-未删除")
    @NotNull(message = "逻辑删除 1-删除 0-未删除不能为空")
    private Integer isDelete;

}
